/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package uk.ac.bath.gui;


import java.awt.Graphics;
import javax.swing.JPanel;

/**
 *
 * @author pjl
 */
public abstract class View extends JPanel  {

    public abstract void setDebug(boolean selected);

    public View() {

    }


    @Override
    final public void paint(Graphics g) {
        super.paint(g);
        myPaint(g);
    }

    protected abstract void myPaint(Graphics g);


    public void dispose() {
    }
}
